#!/bin/bash

BZR=$1

for i in `find $BZR | grep "\.bzr/branch/last-revision"`; do echo $i | sed -e 's/\/\.bzr\/branch\/last-revision//' >> current; cat $i | awk '{print $1}' >> current; done
